package com.service;

import com.result.Result;
import com.vo.ApkUplaodResultVo;
import com.vo.FileUploadResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface FileUploadService {
    Result<FileUploadResultVo> uploadBookImg(HttpServletRequest request, HttpServletResponse response, MultipartFile multipartfile);

    Result<String> downloadImg(HttpServletRequest request, HttpServletResponse response);

    Result<FileUploadResultVo> uploadVideo(HttpServletRequest request, HttpServletResponse response, MultipartFile video);

    Result<ApkUplaodResultVo> uploadApk(HttpServletRequest request, HttpServletResponse response, MultipartFile multipartfile);
}
